<?php

require_once "db_connection.php";

$query = "SELECT * FROM `users`";
$result = mysql_query($query) or die(mysql_error());

var_dump($result);

while($ans = mysql_fetch_assoc($result))
{
  print_r($ans);
}
